package com.lyf.boot.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Luyufan
 * @date 2023/7/4 9:06
 */
@Data
@ConfigurationProperties(prefix = "xss")
public class XssProperties {

    /**
     * 是否开启
     */
    private boolean enabled;

    /**
     * 排除链接
     */
    private List<String> excludes;

    /**
     * 包含链接
     */
    private List<String> urlPatterns;
}
